package com.xbongbong.pro.statistic.pojo;

import com.xbongbong.saas.constant.BasicConstant;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author zcp
 * @version v1.0
 * @since v1.0
 */
@Setter
@Getter
@ToString
public class ExecuteConfigPojo implements Serializable {
    private static final long serialVersionUID = 6934596068963038258L;
    /**
     * 天
     * 当每周时是1-7，当每月时是1-28。注意当从周、月切回天时重置day
     */
    private Integer day;
    /**
     * 小时 0-23
     */
    private Integer hour;

    public ExecuteConfigPojo(){
        this.day = BasicConstant.ONE;
        this.hour = BasicConstant.ONE;
    }
}
